package com.kgc.sbt.beans;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * user_track
 * @author 
 */
@ApiModel(value="com.kgc.sbt.beans.Track用户足迹表")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Track implements Serializable {
    /**
     * 足迹Id
     */
    @ApiModelProperty(value="足迹Id")
    private Integer trackId;

    /**
     * 用户id
     */
    @ApiModelProperty(value="用户id")
    private Integer userId;

    /**
     * 商品id
     */
    @ApiModelProperty(value="商品id")
    private Integer productId;

    /**
     * 浏览时间
     */
    @ApiModelProperty(value="浏览时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date lookTime;


    private static final long serialVersionUID = 1L;
}